<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" >
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="">
    <meta name="format-detection" content="telephone=no">
    <title>爱情测试_题_答案_大全-壹心理</title>
    <meta name="keywords" content="爱情测试,爱情测试题及答案,爱情测试题,爱情测试大全">
    <meta name="description" content="壹心理爱情测试，提供专业的爱情测试题及答案，帮助你了解自己。">
	<link rel="stylesheet" href="css/page.css" >
    <link rel="stylesheet" href="css/index.min.css">	

    <script src="//lapp.xinli001.com/jsmin/common.min.js" ></script>	
    <script src="//lapp.xinli001.com/jsmin/website-addons.min.js" ></script>	
    <script src="//lapp.xinli001.com/js/zhuge.sdk.js" ></script>
    <script>
        var headerAuthUserUrl = "http://www.xinli001.com/ajax/header-auth-user-div.json";
        //设置cooperation cookie
        $(function(){
            setCooperationCookie();
        });

        function getCookie(name)
        {
            var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
            if(arr=document.cookie.match(reg))
                return unescape(arr[2]);
            else
                return null;
        }
        function setCooperationCookie(){
            //cookie不存在或channel值不相等都要重新设置cookie
            var channel_name = '';
            var channel_id = '';
            var urldomain = '.xinli001.com';
            var cooperation = getCookie('cooperation');
            var setcookie = false;
            if(cooperation){
                var cookiedata =  JSON.parse(cooperation);
                var old_channel_id = cookiedata.channel_id;
                if(channel_id && old_channel_id != channel_id){
                    setcookie = true;
                }else{
                    setcookie = false;
                }
            }else{
                setcookie = true;
            }
            if(setcookie == true){
                var url = encodeURI(window.location.href);
                var cookievalue = {"channel_id":channel_id,"url":url};
                var cookiestr = JSON.stringify(cookievalue);
                //渠道名
                if(channel_id){
                    var domain = "domain=" + urldomain;
                    document.cookie= "cooperation=" + cookiestr + ";path=/;" + domain;
                    zhuge.track('测评_PC渠道_访问次数',{'channel_id':channel_id,'channel_name':channel_name});
                }
            }
        }
    </script>

</head>
<body>
	<jsp:include page="/readColumns.htm" />
	<!-- 隐藏提交页码表单 -->
	<form action="${columns.url}.htm" method="get" id="formId">
		<input type="hidden" id="pageNum" name="page"/>
	</form>
	
	<div class="infos-wrap">
		<div class="fish-left main-left">
			<div class="list_rmd">
				<div class="title bor_bot">爱情测试人气推荐</div>
				<div class="lists bor_top fixed">
					<ul>
						<li class="fl payTest"><a
							href="http://www.xinli001.com/ceshi/548"> <img
								src="http://ossimg.xinli001.com/20170313/f6628cfe2e5eedb7567b852bc7334448.jpg!180x120"
								width="180" height="120" hover="true" alt="你的初恋是什么颜色？">
								<p>你的初恋是什么颜色？</p>
						</a></li>
						<li class="fl payTest"><a
							href="http://www.xinli001.com/ceshi/57"> <img
								src="http://image.xinli001.com/20160907/06331132zonf42y1akxhp9.jpg!180x120"
								width="180" height="120" hover="true" alt="桃花运测试：哪种颜色增加你的桃花运？">
								<p>桃花运测试：哪种颜色增加你的桃花运？</p>
						</a></li>
						<li class="fl payTest"><a
							href="http://www.xinli001.com/ceshi/186"> <img
								src="http://ossimg.xinli001.com/20170303/eefe9ff5c994502af90b5bbf6127ea50.jpg!180x120"
								width="180" height="120" hover="true" alt="什么样的异性和你最登对？">
								<p>什么样的异性和你最登对？</p>
						</a></li>
					</ul>
				</div>
			</div>
			<!--推荐-->
			<h2 class="list_title">爱情测试：</h2>
			<div class="list_show">
				<dl>
					<c:forEach items="${requestScope.itemsList}" var="item">
						<dd class="fixed">
							<p class="pbox fl">
								<a href="question/${item.id }.htm"> <img
									class="lazyload" src="${item.imgPath }" width="120" height="80"
									alt="${item.name }" hover="true" />
								</a>
							</p>
							<p class="linfo fl">
								<a href="question/${item.id }.htm">${item.name }</a><br />
								${item.content}<br /> <span class="total"> <span
									class="icons" title="测试人数"></span>${item.testedNum}人测试过
								</span>
							</p>
						</dd>
					</c:forEach>
				</dl>
			</div>
			<!--列表-->
			<%-- <div class="pagebar" id="pages">
				<!-- 如果总页数只有5页以下 当前页不能点，其他页码为A链接 。总页数5页以上， 前5页先循环，
				中间打...，如果当前页大于5且当前页小于总页码-3，显示最后三页页码 -->
				<c:choose>
					<c:when test="${requestScope.pageInfoUtil.totalPage>0 && requestScope.pageInfoUtil.totalPage<5}">
						<c:forEach begin="0"  items="${requestScope.pageInfoUtil.totalPage}" step="1" var="page">
							<c:choose>
								<c:when test="${requestScope.pageInfoUtil.currentPage == page }">
									<span>${page }</span> 
								</c:when>
								<c:otherwise>
										|<a href="${requestScope.columns.url}.htm?page=${page}" target="_self">${page }</a>
									</c:otherwise>
							</c:choose>
						</c:forEach>
					</c:when>
					<c:otherwise>
						<c:forEach begin="1" end="5" step="1" var="page">
							<c:choose>
									<c:when test="${requestScope.pageInfoUtil.currentPage == page }">
										<span>${page }</span> 
									</c:when>
									<c:otherwise>
										|<a href="${requestScope.columns.url}.htm?page=${page }" target="_self">${page }</a>
									</c:otherwise>
								</c:choose>
						</c:forEach>
						|<span>...</span>
						<c:if test="${requestScope.pageInfoUtil.currentPage > 5 && requestScope.pageInfoUtil.currentPage < requestScope.pageInfoUtil.totalPage - 3 }">
								|<span>${requestScope.pageInfoUtil.currentPage }</span> 
								|<span>...</span> 
							</c:if>
							<c:forEach begin="${requestScope.pageInfoUtil.totalPage - 3}" end="${requestScope.pageInfoUtil.totalPage}" step="1" var="page">
								<c:choose>
									<c:when test="${requestScope.pageInfoUtil.currentPage == page }">
										<span>${page }</span> 
									</c:when>
									<c:otherwise>
										|<a href="${requestScope.columns.url}.htm?page=${page}" target="_self">${page }</a>
									</c:otherwise>
								</c:choose>
							</c:forEach>
					</c:otherwise>
				</c:choose>
			</div> --%>
			<!-- 分页插件 -->
			<div class="span12 center" style="vertical-align: middle;">
				<table width="100%">
					<tbody>
						<tr>
							<td style="text-align: left;">
								<div class="pagination">
									<ul>
										<li class="prev"><a href="javascript:void(0);">总&nbsp;${requestScope.pageInfoUtil.totalRecord}&nbsp;条&nbsp;&nbsp;每页&nbsp;${requestScope.pageInfoUtil.pageSize}&nbsp;条&nbsp;&nbsp;共&nbsp;${requestScope.pageInfoUtil.totalPage}&nbsp;页</a></li>
									</ul>
								</div>
							</td>
							<td style="text-align: right;" class="tcdPageCode">
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>

		<!--left-->
		<div class="fish-left main-right">
			<div class="multi_ads fixed">
				<div class="mt">
					<strong>编辑推荐<span class="mq">：</span><span class="ms">······
					</span></strong>
				</div>
				<dl>
					<dd>
						<a href="http://www.xinli001.com/info/100360756?from=cheshi"
							title="心探社" target="_blank"> <img
							src="http://ossimg.xinli001.com/20161219/22c35b0aef597efe978b7a084dcf3030.jpg"
							width="135" height="135" hover="true" title="心探社" alt="心探社">
						</a>
					</dd>

					<dd>
						<a href="http://www.xinli001.com/ceshi/99897526?from=2017"
							title="心理需求测评" target="_blank"> <img
							src="http://image.xinli001.com/20160805/030954q4tnzb0jb0nyq06s.jpg"
							width="135" height="135" hover="true" title="心理需求测评" alt="心理需求测评">
						</a>
					</dd>

					<dt>
						<a href="http://www.xinli001.com/ceshi/99897572?from=ceshi"
							title="抑郁症测试" target="_blank"> <img
							src="http://ossimg.xinli001.com/20161024/16f19e49dab19387649e80eae35df090.jpg"
							width="280" height="135" hover="true" title="抑郁症测试" alt="抑郁症测试">
						</a>
					</dt>
					<br class="clear">
				</dl>
			</div>
			<!-- 1-->
			<div class="test_rmd_list fixed">
				<div class="st rbor">
					<span class="fb">爱情测试推荐 ：</span><span class="more"><a
						href="/ceshi">更多&raquo;</a></span>
				</div>
				<dl>
					<dd>
						<p class="pbox fl">
							<a href="http://www.xinli001.com/ceshi/548"> <img
								src="http://ossimg.xinli001.com/20170313/f6628cfe2e5eedb7567b852bc7334448.jpg!90x60"
								width="90" height="60" hover="true" alt="你的初恋是什么颜色？" />
							</a>
						</p>
						<p class="tinfo fl">
							<a href="http://www.xinli001.com/ceshi/548">你的初恋是什么颜色？</a> <span
								class="total"><span class="icons" title="测试人数"></span>42229人测试过</span>
						</p>
					</dd>
					<dd>
						<p class="pbox fl">
							<a href="http://www.xinli001.com/ceshi/57"> <img
								src="http://image.xinli001.com/20160907/06331132zonf42y1akxhp9.jpg!90x60"
								width="90" height="60" hover="true" alt="桃花运测试：哪种颜色增加你的桃花运？" />
							</a>
						</p>
						<p class="tinfo fl">
							<a href="http://www.xinli001.com/ceshi/57">桃花运测试：哪种颜色增加你的桃花运？</a>
							<span class="total"><span class="icons" title="测试人数"></span>24052人测试过</span>
						</p>
					</dd>
					<dd>
						<p class="pbox fl">
							<a href="http://www.xinli001.com/ceshi/186"> <img
								src="http://ossimg.xinli001.com/20170303/eefe9ff5c994502af90b5bbf6127ea50.jpg!90x60"
								width="90" height="60" hover="true" alt="什么样的异性和你最登对？" />
							</a>
						</p>
						<p class="tinfo fl">
							<a href="http://www.xinli001.com/ceshi/186">什么样的异性和你最登对？</a> <span
								class="total"><span class="icons" title="测试人数"></span>258154人测试过</span>
						</p>
					</dd>
					<dd>
						<p class="pbox fl">
							<a href="http://www.xinli001.com/ceshi/65"> <img
								src="http://image.xinli001.com/20160913/0957233ndpcvp1a205go2i.jpg!90x60"
								width="90" height="60" hover="true" alt="你该远离哪种异性？" />
							</a>
						</p>
						<p class="tinfo fl">
							<a href="http://www.xinli001.com/ceshi/65">你该远离哪种异性？</a> <span
								class="total"><span class="icons" title="测试人数"></span>45470人测试过</span>
						</p>
					</dd>
					<dd>
						<p class="pbox fl">
							<a href="http://www.xinli001.com/ceshi/202"> <img
								src="http://ossimg.xinli001.com/20170224/e2e1865c67a449504b88d17d60e6699e.jpg!90x60"
								width="90" height="60" hover="true" alt="你的“为爱痴狂”指数有多高？" />
							</a>
						</p>
						<p class="tinfo fl">
							<a href="http://www.xinli001.com/ceshi/202">你的“为爱痴狂”指数有多高？</a> <span
								class="total"><span class="icons" title="测试人数"></span>41849人测试过</span>
						</p>
					</dd>
				</dl>
			</div>
			<div class="tags fixed">
				<div class="st rbor">
					<span class="fb">热门标签 ：</span>
				</div>
				<ul>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E6%80%A7%E6%A0%BC%E6%B5%8B%E8%AF%95">性格测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E7%88%B1%E6%83%85%E6%B5%8B%E8%AF%95">爱情测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E8%83%BD%E5%8A%9B%E6%B5%8B%E8%AF%95">能力测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E5%BF%83%E7%90%86%E6%B5%8B%E8%AF%95">心理测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E8%B6%A3%E5%91%B3%E6%B5%8B%E8%AF%95">趣味测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E4%B8%93%E4%B8%9A%E6%B5%8B%E8%AF%95">专业测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E5%A7%BB%E7%BC%98%E6%B5%8B%E8%AF%95">姻缘测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E6%B5%8B%E8%AF%95%E7%88%B1%E6%83%85">测试爱情</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E8%81%8C%E4%B8%9A%E6%B5%8B%E8%AF%95">职业测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E9%A2%84%E8%A8%80%E6%B5%8B%E8%AF%95">预言测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E4%BC%9A%E5%91%98%E6%B5%8B%E8%AF%95">会员测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E7%88%B1%E6%83%85">爱情</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E7%BF%BB%E8%AF%91%E6%B5%8B%E8%AF%95">翻译测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E4%B8%93%E4%B8%9A%E9%87%8F%E8%A1%A8">专业量表</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E6%BD%9C%E6%84%8F%E8%AF%86%E6%B5%8B%E8%AF%95">潜意识测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E5%A4%96%E5%9B%BD%E6%B5%8B%E8%AF%95">外国测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E6%80%A7%E6%A0%BC">性格</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E8%81%8C%E5%9C%BA%E6%B5%8B%E8%AF%95">职场测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E5%81%A5%E5%BA%B7%E6%B5%8B%E8%AF%95">健康测试</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E5%BF%83%E7%90%86%E5%81%A5%E5%BA%B7">心理健康</a></li>
					<li class="fl"><a
						href="http://www.xinli001.com/ceshi/tag?name=%E6%81%8B%E7%88%B1">恋爱</a></li>
				</ul>
			</div>
			<!--标签-->
		</div>
		<!--right-->
	</div>

	<%@ include file="/common/include/footer.jsp" %>

<div style="display: none">
    <div id="login_popup" class="lpcont">
        <h2>登录壹心理</h2>
        <p class="words">开始心理测试，收听FM，用心理学改变自己！</p>
        <div class="lpbox">
            <div class="lpart">
                <form id="lp_form" action="login-jsonp/" method="post">
                    <p class="eml">
                        <label for="email">邮箱</label>
                        <input type="text" id="lp_username" name="username" class="area">
                    </p>
                    <p class="psw">
                        <label for="password">密码</label>
                        <input type="password" id="lp_password" name="password" class="area">
                    </p>
                    <input id="lp_submit" type="submit" class="log_btn" value="登 录">
                    <br>
                    <a href="forgetpwd/" class="forget" target="_blank">忘记密码</a>
                    <a href="register/" class="signup" target="_blank">没有账号，去注册＞</a>
                </form>
            </div>
            <div class="rpart">
                <span>使用其它账号登录</span>
                <a href="qwb/login/" class="qq" target="_blank">使用腾讯账号登录</a>
                <a href="xwb/login/" class="wb" target="_blank">使用微博账号登录</a>
                <a href="renren/login/" class="rr" target="_blank">使用人人账号登录</a>
            </div>
            <br style="clear:both">
        </div>
    </div>
</div>

<div id="background"></div>


<script>
    var userinfoUrl = 'http://www.xinli001.com/userinfo/';
</script>

<script src="js/jquery-3.1.1.min.js" ></script>
<script src="js/jquery.page.js" ></script>
<script >

$(".tcdPageCode").createPage({
	pageCount:"${pageInfoUtil.totalPage}",
	current:"${pageInfoUtil.currentPage}",
	backFn:function(p){
		//通过JS请求Action
		console.log(p);
		$("#pageNum").val(p);//给隐藏的页码输入框赋值
		$("#formId").submit();
	}
});
</script>

<script>
    $(function(){
        setFocusSlid('#roll_sels', '#rolls_imgs', 229);
        $.get(headerAuthUserUrl, function(resp) {
            $('#header-auth-user-div').html(resp);
        });
    });
</script>


<script>
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    //document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fd64469e9d7bdbf03af6f074dffe7f9b5' type='text/javascript'%3E%3C/script%3E"));
    var _bdurl = unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fd64469e9d7bdbf03af6f074dffe7f9b5' type='text/javascript'%3E%3C/script%3E");
    document.write(_bdurl);
</script>
<script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-74218902-1', 'auto');
    ga('send', 'pageview');
</script>

</html>
